<%--
  @author rominamilea@gmail.com
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<html>
<head>
    <title>Online Questionnaires</title>
    <link href="<c:url value="/resources/css/ui-styles.css"/>" type="text/css" rel="stylesheet"/>
    <script src="<c:url value="/resources/scripts/jquery-1.7.7.min.js"/>" type="text/javascript"></script>
    <script src="<c:url value="/resources/scripts/script.js"/>" type="text/javascript"></script>

</head>
<body>
<div id="container">
    <div id="antet">
        <p id="titlu">- ONLINE QUESTIONNAIRES -</p>
    </div>

    <div id="pagina">
        <div id="home_page_content">
            </br>
            <p class="welcome"> Welcome!
                <br>
                <b> Online questionnaires </b>
                is an application that offers you the posibility to fill in questionnaires from different categories
                and see the questionnaire statistics.</p>
            <p class="welcome">Only authorized people can autentify in order to create and manage questionnaires</p>

            <p class="welcome">If you have an administrator account, you have the posibility to:</p>
            <ul class="functionalitati">
                <li>Manage the managers of questionnaires(view, add, delete).</li>

            </ul>

            <p class="welcome">If you have a manager account you have the posibility to:</p>
            <ul class="functionalitati">
                <li>Manage questionnaire categories(view, add, edit, delete)</li>
                <li>Manage questionnaires (view, create, set inactive in order to not let users fill in any more) and the questions with responses related to it</li>
            </ul>

        </div>

        <div id="meniu_login">
            <form name="login" method="POST" action="login">
                <table id="tabel_login" align="center">
                    <tr>
                        <td class="camp_l">Username:
                            <input type="text" name="user"/></td>
                    </tr>
                    <tr>
                        <td class="camp_l">Password:
                            <input type="password" name="password"/></td>
                    </tr>
                    <tr class="footer">
                        <td><input id="login_button" type="button" value="Login" onclick="validareLogin()"/>
                        </td>
                    </tr>
                </table>
            </form>

            <p id="info"> [ only available for authorized users ] </p>

            <p><a class="underline" href="view_questionnaire">Fill in a questionnaire</a></p>
            <%--<p><a class="underline" href="admin">Admin</a></p>--%>
            <%--<p><a class="underline" href="manager">Manager</a></p>--%>
        </div>
    </div>

    <div id="subsol">
        <h4>(c) Romina Milea, Adriana Oros, Ioana Rucareanu, 2012</h4>
    </div>
    <%--<a href="users">Go to users</a><br>--%>
    <%--<a href="categories">Go to categories</a><br>--%>
    <%--<a href="questionnaires">Go to questionnaires</a></br>--%>
    <%--<a href="view_questionnaire">View questionnaire(s)</a>--%>
</div>
</body>
</html>